package com.auth.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.auth.model.system.SysRole;
import com.auth.vo.system.AssginRoleVo;

import java.util.Map;
/**
 * @author Tangjiachang
 * @description
 * @date 22:24 2023/7/20
 **/
public interface SysRoleService extends IService<SysRole> {
    /**
     * 根据用户id获取角色
     *
     * @author Tangjiachang
     * @date 22:53 2023/7/20
     * @param userId
     * @return Map<Object>
     **/
    Map<String, Object> findRoleByUserId(Long userId);
    /**
     * 授权
     *
     * @author Tangjiachang
     * @date 2023/7/20 23:05
     * @param assginRoleVo:
     * @return Object
     **/
    Object doAsking(AssginRoleVo assginRoleVo);

}
